import type { BaseTableConfig } from '@/components/base-ui/base-table/type';

export const tableConfig: BaseTableConfig = {
    items: [
        {
            modelKey: 'orderNumber',
            columnProps: {
                label: '订单号',
                width: 180
            }
        },
        {
            modelKey: 'materialCode',
            columnProps: {
                label: '物料编码',
                width: 180
            }
        },
        {
            modelKey: 'materialName',
            columnProps: {
                label: '物料名称',
                width: 180
            }
        },
        {
            modelKey: 'workshopName',
            columnProps: {
                label: '车间名称',
                width: 180
            }
        },
        {
            modelKey: 'processCode',
            columnProps: {
                label: '工序编码',
                width: 140
            }
        },
        {
            modelKey: 'processName',
            columnProps: {
                label: '工序名称',
                width: 180
            }
        },
        {
            modelKey: 'processDescription',
            columnProps: {
                label: '工序描述',
                width: 200
            }
        },
        {
            modelKey: 'equipmentCode',
            columnProps: {
                label: '设备编码',
                width: 140
            }
        },
        {
            modelKey: 'equipmentName',
            columnProps: {
                label: '设备名称',
                width: 140
            }
        },
        {
            modelKey: 'auxiliaryDataCoding',
            columnProps: {
                label: '辅助资源编码',
                width: 140
            }
        },
        {
            modelKey: 'auxiliaryDataName',
            columnProps: {
                label: '辅助资源名称',
                width: 140
            }
        },
        {
            modelKey: 'plannedStartTime',
            columnProps: {
                label: '计划开始时间',
                width: 200
            }
        },
        {
            modelKey: 'plannedEndTime',
            columnProps: {
                label: '计划结束时间',
                width: 200
            }
        },
        {
            modelKey: 'demandQuantity',
            columnProps: {
                label: '需求数量',
                width: 140
            }
        },
        {
            modelKey: 'plannedQuantity',
            columnProps: {
                label: '计划数量',
                width: 140
            }
        }
    ],
    unAction: true,
    unSelection: true
};
